package http_error

var (
	JwtError = HttpError{
		ErrorCode: 700,
		ErrorMsg:  "用户登录状态已失效，请重新登录！",
	}

	AccountNotExist = HttpError{
		ErrorCode: 1002,
		ErrorMsg:  "账号不存在",
	}

	AccountOrPasswordError = HttpError{
		ErrorCode: 1003,
		ErrorMsg:  "账号或密码错误",
	}

	AccountBanned = HttpError{
		ErrorCode: 1004,
		ErrorMsg:  "该账号已被禁用",
	}

	CodeNotSend = HttpError{
		ErrorCode: 1005,
		ErrorMsg:  "请先获取验证码",
	}

	CodeError = HttpError{
		ErrorCode: 1006,
		ErrorMsg:  "验证码错误",
	}

	PasswordTypeError = HttpError{
		ErrorCode: 1007,
		ErrorMsg:  "密码不能纯数字或纯字母",
	}

	PasswordCountError = HttpError{
		ErrorCode: 1008,
		ErrorMsg:  "密码中必须包含8-20位字母和数字",
	}

	RegisterFail = HttpError{
		ErrorCode: 1009,
		ErrorMsg:  "注册失败，请重试！",
	}

	AccountExist = HttpError{
		ErrorCode: 1010,
		ErrorMsg:  "该账号已被注册！",
	}

	CodeNotExpdired = HttpError{
		ErrorCode: 1011,
		ErrorMsg:  "验证码5分钟有效,请勿多次发送",
	}

	IsNotPhoneOrEmail = HttpError{
		ErrorCode: 1012,
		ErrorMsg:  "请输入正确的账号格式",
	}

	TooManyCodeCalled = HttpError{
		ErrorCode: 1013,
		ErrorMsg:  "您已当日发送次数过多",
	}

	NicknameIsNil = HttpError{
		ErrorCode: 1014,
		ErrorMsg:  "昵称不能为空",
	}

	AvatarIsNil = HttpError{
		ErrorCode: 1015,
		ErrorMsg:  "头像不能为空",
	}

	OldPasswordWrong = HttpError{
		ErrorCode: 1020,
		ErrorMsg:  "旧密码错误",
	}

	CaptchaSliderError = HttpError{
		ErrorCode: 1044,
		ErrorMsg:  "滑块验证码错误",
	}

	CaptchaSliderInvalidError = HttpError{
		ErrorCode: 1045,
		ErrorMsg:  "滑块验证码失效",
	}

	AccountLogout = HttpError{
		ErrorCode: 1047,
		ErrorMsg:  "该账号已注销",
	}

	MailRegistered = HttpError{
		ErrorCode: 1048,
		ErrorMsg:  "该邮箱已注册，请更换邮箱重试。",
	}

	MailBound = HttpError{
		ErrorCode: 1049,
		ErrorMsg:  "该邮箱已绑定在另一个手机号上，请更换邮箱重试。",
	}

	MobileRegistered = HttpError{
		ErrorCode: 1050,
		ErrorMsg:  "该手机号已注册，请更换手机号重试。",
	}

	MobileBound = HttpError{
		ErrorCode: 1051,
		ErrorMsg:  "该手机号已绑定在另一个邮箱账号上，请更换手机号重试。",
	}
)
